<?php

	class Where{
		private $where;

		
		public function __construct($total,$num){
			$this->where;
		}
		select * from info where A_Appkid = 'xxx';
		function condition(){
			$where = $this->where;
			$where = $this->where ? 'where '.$this->where : NULL;
			return $where;
		}
		
	}

?>